package com.itheima.day04.ZuoYe.ZuoYe3;

import java.util.Scanner;
import java.util.concurrent.atomic.DoubleAdder;

public class ZuoYe3 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入年龄与身高（年龄是整数，身高是小数，中间使用逗号分隔）");
        String s = sc.nextLine();
        String[] split = s.split(",");
        int a = Integer.parseInt(split[0]);
        double b = Double.parseDouble(split[1]);
        System.out.println("年龄是："+a+"，身高是："+b);
    }
}
